package com.seecen.cywbackend.pojo.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class CommentDTO {
    @NotNull(message = "动态ID不能为空")
    private Integer dynamicId; // 关联的动态ID
    @NotBlank(message = "评论内容不能为空")
    @Size(max = 500, message = "评论内容过长")
    private String content;
    private Integer parentId; // 父评论ID
    private Integer replyCommentId;//回复评论ID
    private Long replyUserId; // 被回复用户ID
    private String replyUserName;//被回复用户名
}
